package com.zc.timedown.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@ApiModel(value = "周统计数据")
public class WeeklyStatsVO {
    /**
     * 周开始日期
     */
    @ApiModelProperty(value = "周开始日期")
    private LocalDate weekStartDate;

    /**
     * 周结束日期
     */
    @ApiModelProperty(value = "周结束日期")
    private LocalDate weekEndDate;

    /**
     * 打卡天数
     */
    @ApiModelProperty(value = "打卡天数")
    private Integer clockInDays;

    /**
     * 计划目标总数
     */
    @ApiModelProperty(value = "计划目标总数")
    private Integer totalGoals;

    /**
     * 完成目标数
     */
    @ApiModelProperty(value = "完成目标数")
    private Integer completedGoals;

    /**
     * 完成率
     */
    @ApiModelProperty(value = "完成率")
    private BigDecimal completionRate;

}
